}
catch(JsonParseException e)
{
logger.log(Level.WARNING, "UserManager.update() had a failure in the changeset mapper.");
throw new SerializationException("Error inflating the changeset: " + e.getMessage());
}
if(s.getUser().getUsername().equals(toUpdate.getUsername()) || s.getUser().getRole().equals(Role.ADMIN))
{