cancel readonly attribute for the database