Fix refresh bug, after updating project, rails returns json representation of model