Added 'update' in category controller. Added logic in model also to ensure slug consistency is maintained.