fix up @post

allowing to update a recourd instead of create a new one.