Fixed: Type access change not updated in the database
Fixed problem to get value of a flag