Added updating feature and permissions