Added logging, Actions and updates to schema