added delete flag and enabled it in push