post if not exists when put && post with specified id