change remove post to using ajax