updating fk and m2m fields working