update 'post' model : change variable accessType to 'protected'