Fixed 'Update' method in Messages Controller