Fixed the template for JSON error
Update methor only update if the user is present