update grape entity