Fixed bug with creating and updating using active admin