Combined both edit /create and store / update methods.