Front: visible != visibility so the default value (false) is being sent to the database. Fix in javascript to call it visible.